package oom;

import java.util.concurrent.CompletableFuture;
import java.util.concurrent.TimeUnit;

/**
 * @author chaird
 * @create 2023-05-08 0:26
 */
public class App {

  public static void main(String[] args) throws Exception {

    CompletableFuture.runAsync(
        () -> {
          System.out.println(1);
          try { TimeUnit.SECONDS.sleep(10); } catch (Exception e) { e.printStackTrace(); } finally { }
          
          System.out.println(1);
        });
  }
}

class Dandan {

  private byte[][] data = new byte[1024][1024];
}
